<?php /* Smarty version 2.6.18, created on 2010-04-29 00:06:54
         compiled from productplace/productplace_edit_form.html */ ?>
<form id="edit_productplace_form" method="POST" action=
		"<?php echo @APPLICATION_URL; ?>
productplace/edit/">
	<table border="0" cellpadding="10px">
		<tr>
			<td>Place</td>
			<td>
				<select id="propla_pla_id" name="propla_pla_id">
					<?php $_from = $this->_tpl_vars['placesList']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['phantu']):
?>
						<option value="<?php echo $this->_tpl_vars['phantu']['pla_id']; ?>
" 
				 		<?php if ($this->_tpl_vars['phantu']['pla_id'] == $this->_tpl_vars['current_data']['propla_pla_id']): ?> 
							selected = "true"
						<?php endif; ?>
						>
							<?php echo $this->_tpl_vars['phantu']['pla_name']; ?>

						</option>					
					<?php endforeach; endif; unset($_from); ?>
				</select>
			</td>
		
		
		</tr>	
			<td>Product</td>
			<td>
				<select id="propla_pro_id" name="propla_pro_id">
					<?php $_from = $this->_tpl_vars['productList']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['phantu']):
?>
						<option value="<?php echo $this->_tpl_vars['phantu']['pro_id']; ?>
" 
				 		<?php if ($this->_tpl_vars['phantu']['pro_id'] == $this->_tpl_vars['current_data']['propla_pro_id']): ?> 
							selected = "true"
						<?php endif; ?>
						>
							<?php echo $this->_tpl_vars['phantu']['pro_name']; ?>

						</option>					
					<?php endforeach; endif; unset($_from); ?>
				</select>
			</td>
		</tr>

		
		<tr>
			<td>Quantity</td>
			<td><input id="propla_quantity" name="propla_quantity" size=30
				 value="<?php echo $this->_tpl_vars['current_data']['propla_quantity']; ?>
"/></td>
			
		</tr>
		


			<td>
				<input id="propla_id" name="propla_id" size=30 
					value="<?php echo $this->_tpl_vars['current_data']['propla_id']; ?>
" style="display:none"/>
			</td>
			
		</tr>
		<tr>
			<td colspan=2 align="left">
				<input type="submit" id="edit_productplace_btn" 
					name="edit_productplace_btn" value="Edit ProductPlace"/>
			</td>
		</tr>
	</table>
</form>